#include <iostream>
int a = 10;
int main()
{
    int a = 20;
    std::cout << a << std::endl;
    /*::a代表a来自于全局*/
    std::cout << ::a << std::endl;
    return 0;
}